Phase Control Block for Managing Multiple Clock Domains in Systems with Frequency Offsets

ABSTRACT

A circuit for performing clock recovery according to a received digital signal  30.  The circuit includes at least an edge sampler  105  and a data sampler  145  for sampling the digital signal, and a clock signal supply circuit. The clock signal supply circuit provides edge clock  25  and data clock  20  signals offset in phase from one another to the respective clock inputs of the edge sampler  105  and the data sampler  145.  The clock signal supply circuit is operable to selectively vary a phase offset between the edge and data clock signals.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of patent application Ser. No. 12/225,999, filed Jan. 12, 2009, which claimed the benefit of the filing date of U.S. Provisional Patent Application No. 60/789,406 filed Apr. 4, 2006, both of which are incorporated herein by reference in their entireties.

BACKGROUND

The present invention relates to clock recovery circuits and related circuits used for receiving and transmitting digital signals.

Modern digital systems typically include multiple digital devices capable of communicating with each other using digital signals made of sequences of digital symbols. A digital symbol takes up a time interval, which is often referred to as a unit interval or a data interval. A digital device may transmit a digital data signal by setting the value of a signal parameter associated with a communication channel to one of a plurality of predetermined values for each data interval according to a transmitter clock. A digital device that receives the digital signal takes successive samples of the signal according to a recovered clock and determines the values of the signal parameter represented by the samples. The recovered clock is preferably synchronized with the digital signal so that the samples are taken at times corresponding to the data intervals.

To communicate data at high speed, it is desirable to make the data intervals as short as possible, which, in turn, requires greater precision in the synchronization between the recovered clock used by the receiving device and the data intervals of the incoming signal. For example, modern interfacing and communication protocols such as PCI Express, SONET, InfiniBand and XAUI use data intervals on the order of nanoseconds or less, and require that the receiving device use a clock which is synchronized to the data intervals to within a fraction of one data interval.

In a typical link between two digital devices a receiving device employs two clock domains to sample a received digital signal. The two clock domains employed are the edge clock domain and the data clock domain. The edge clock domain is used to sample the digital signal at or near the boundaries of the data intervals. The data clock domain is used to sample the digital signal at a point between the boundaries of the data intervals so as to minimize the effect that signal transitions may have on the data domain samples.

The edge and data domain samples of the digital signal are used to synchronize the recovered clock to the transmitter clock. More specifically, the edge and data domain samples are supplied to a phase detector within the receiver which, in turn, uses the edge and data domain samples to generate a phase error signal indicative of the relative phase error between the transmitter clock and the recovered clock. The phase error signal is passed to a phase controller within the receiver, and the phase controller adjusts the phase of the edge and data clocks in accordance with the phase error signal. Thus, the phase detector and phase controller are part of a feedback loop that serves to minimize the phase error signal.

BRIEF DESCRIPTIONS OF THE DRAWINGS

The following detailed description given by way of example, but not intended to limit the invention solely to the specific embodiments described, may best be understood in conjunction with the accompanying drawings wherein like reference numerals denote like elements and parts, in which:

FIG. 1 is a block diagram of a clock and data recovery circuit in accordance with a preferred embodiment.

FIG. 2 is a block diagram of a phase detector in accordance with a preferred embodiment.

FIGS. 3A-3D are timing diagrams useful for understanding the operation of the phase detector shown in FIG. 2.

DETAILED DESCRIPTION

It has been recognized that it is desirable to allow for a selectively variable phase offset between clock domains. Further, it has been recognized that it is desirable for digital receivers to employ three or more clock domains, and that there is a need for systems and methods to synchronize such multiple clock domains with a transmitter clock. Still further, it has been recognized that it is desirable to provide for selectively variable phase offset and/or the synchronization of three or more clock domains.

For purposes of clarity of presentation, the preferred embodiments will be discussed in the context of second order clock recovery. Upon review of this disclosure, one skilled in the art will readily appreciate how the present system and method is applied in the context of first order clock recovery and higher order clock recovery.

A circuit according to one embodiment is shown in FIG. 1. The circuit of FIG. 1 includes a feedback circuit 10 arranged to receive a phase error signal 15 indicating a relative phase relationship between an incoming digital signal 30 and a data clock signal 20 and/or edge clock signal 25. The phase error signal is supplied to a first proportionality constant unit 35 (“Kp”) which multiplies the phase error signal by a proportionality constant to provide a first signal component 40 directly related to the phase error. The phase error signal is also supplied to a second proportionality constant unit 45 (“Ki”) which multiplies the phase error signal by a second proportionality constant and supplies the resulting signal to an accumulator 50 (“Freq. ACC”) which in turn provides an output or second signal component 55. When the system is in lock with a digital signal 30, this output represents the frequency offset between the Receiver clocks and the digital signal 30. An adder 60 combines the first and second signal components to provide a phase adjustment signal 65 which includes both of these components. The phase adjustment signal may be positive or negative depending on the sign of the phase error and its integral. Although FIG. 1 depicts three identical adders 60, 70, and 75, providing three identical phase adjustment signals, a single adder may be used. The feedback circuit is a “second order” circuit.

The phase adjustment signal is supplied to three accumulating registers 80, 85, and 90(“Phase ACC Edge,” “Phase ACC DFE,” and “Phase ACC TX”). Each register maintains a phase shift value and increments or decrements the phase shift value in response to the phase adjustment signal.

One register (“Phase ACC Edge”) is connected directly to a control input 92 of an edge clock phase shifter 95(“Interpolator Edge”) which in this embodiment is a phase interpolator. Other types of phase shifters may be used in place of each interpolator referred to herein as, for example, adjustable delay lines or combinations of delay lines and phase interpolators. The edge clock phase shifter is arranged to receive a clock signal 100 referred to herein as the “Receiver clock signal.” The Receiver clock signal may be generated by a phase locked loop (not shown) or other conventional circuit and in many embodiments will be multiple clock signals of the same frequency but equally spaced within a period of the Receiver clock signal. The edge clock phase shifter shifts the phase of the Receiver clock signal by an amount directly related to the output of Phase ACC Edge. The phase-shifted replica of the Receiver clock signal constitutes the edge clock signal. The edge clock signal is applied to the clock input of a latch or other sampling device 105 (“Edge Sampler”). This sampling device receives a digital signal 110 (“equalized signal”), captures successive samples of the digital signal at times set by the edge clock signal and compares these samples to a threshold to convert each sample to “edge samples” 115, which are in the form of a digital “1” or “0.” These “edge samples” are supplied to a deserializer and phase detector 120.

A data phase shifter 125 (“Interpolator Data”) has a control input 130 connected to an adder 135 which receives the phase shift value from the same register (“Phase ACC Edge”) and which also receives a data clock offset value 140 (“D_os”) which in this embodiment is selectable by an input applied to the circuit. For example, D_os may be a value held in a user-programmable register or a value supplied by another circuit. Thus, the value supplied to the control input of the data phase shifter will be the sum of the phase shift value stored in register Phase ACC Edge and the data clock offset value. The data phase shifter also receives the Receiver clock signal and produces a replica of this signal (the “data clock” signal 20) phase-shifted by an amount directly related to this sum. Thus, the phase offset between the edge clock signal and the data clock signal is selectively variable by varying D_os. The data clock signal is applied to a data sampler 145 which functions in the same way as the edge sampler discussed above to sample the digital signal (“equalized signal”) provide a series of 1 and 0 values 150 (“data samples”) to the deserializer and phase detector. The deserializer and phase detector provides data samples 155 as parallel data bytes and also determines from the values of the data and edge samples whether the data clock and edge clock are early or late relative the timing of the digital signal. The deserializer and phase detector thus provides the phase error signal in the form of a signal indicating whether the data and edge clocks are early or late relative to the digital signal. In this embodiment, the phase detector is integrated with the deserializer. One form of such a phase detector is shown in FIG. 2.

FIG. 2 shows a preferred embodiment of deserializer and phase detector 120′ along with associated data sampling circuitry 500. The derserializing portion of the deserializer and phase detector is indicated generally as element 122. The phased detecting portion of the deserializer and phase detector is indicated generally as element 126.

It should be noted that deserializer and phase detector 120′ may have two more inputs than deserializer and phase detector 120 of FIG. 1, delayed data samples 505 and delayed edge samples 510. Thus, the data sampling circuitry of FIG. 2 includes data sampler 734 and edge sampler 736 for delayed sampling of the equalized signal.

It should be further noted that delayed sampling is well known in the art, and that upon review of this disclosure one skilled in the art will readily understand how the invention is implemented in the context of delayed sampling and the deserializer and phase detector of FIG. 2.

In any event, samplers 145, 105, 734, and 736 are in the form of latches. The samplers are respectively clocked by data clock 20, edge clock 25, a delayed data clock 515, and a delayed edge clock 520. The delayed data clock has the same frequency as the data clock but is delayed in phase by 180 degrees relative to the data clock. Similarly, the delayed edge clock has the same frequency as the edge clock but is delayed in phase by 180 degrees relative to the edge clock. Each of the data clock, edge clock, delayed data clock, and delayed edge clock has a period equal to two data intervals.

In the ideal locked condition shown in FIG. 3A, the data clock and delayed data clocks are aligned in the centers of successive data intervals, whereas the edge clock and delayed edge clock are aligned with the boundary or edges between successive data intervals. The serial data input is connected to latch 145, clocked by clocked by the data clock; to latch 105, clocked by the edge clock; to latch 734 clocked by the delayed data clock; and to latch 736, clocked by the delayed edge clock. Accordingly, in the locked condition shown in FIG. 13A, latches 145 and 734 will sample the serial data signal in alternate data intervals, referred to herein as “even” and “odd” data intervals, whereas latches 105 and 736 will sample the serial data signal at alternate even and odd boundaries between data intervals. Thus, the data clock and delayed data clock can be referred to as even and odd data clocks, whereas the edge clock and delayed edge clock can be referred to as even and odd edge clocks.

In this manner, the samplers output data samples 150, edge samples 115, delayed data samples 505, and delayed edge samples 510. The samples output from the samplers are passed to deserializer and phase detector 120′. The deserializer and phase detector 120′ includes a digital phase detector 122 and a digital loop filter 126.

The outputs of latches 145 and 734, clocked by the data clocks, are connected through a multiplexer 738 to the input of a shift register 740, referred to herein as the data register. Thus, as the latches and multiplexer operate, 1 or 0 values from latches 145 and 734, representing samples taken during successive even and odd data intervals, will be clocked into register 740. The outputs of latches 105 and 736, clocked by the edge clocks, are connected through another multiplexer 742 to a shift register 744, referred to herein as the edge register. Each shift register is arranged to hold n bits, where n is equal to the number of bits in a byte of parallel data. Thus, after n data intervals, data register 740 will hold data as shown in FIG. 2, with an even bit D0 representing the sample taken during a first, even data interval in the first position, an odd bit D1 representing the sample D1 taken during the next, odd data interval, and so on. Similarly, the first position in edge register 744 will hold a first, even bit E0 representing the sample taken at the boundary between the first and second data intervals, i.e., at the boundary between the data intervals represented by bits D0 and D1. Likewise, the second position in edge register 744 will hold an odd bit E1 representing the sample taken at the boundary between the data intervals represented by bits D1 and D2, and so on.

Data register 740 is arranged to supply all of the bits together, as the parallel data output of the deserializer. The data and edge registers 740 and 744 also are connected to a logic circuit 746. Logic circuit 746 is arranged to perform an exclusive or (XOR) operation between each data bit in data register 740 and the next succeeding bit in the data register to derive a transition detect signal. The logic circuit 746 is also arranged to perform an XOR operation between each data bit in data register 740 and the corresponding edge bit in register 744 to provide an early/late signal. For example, the XOR of D0 and D1 provides a transition detect signal associated with D0, whereas the XOR of D0 and E0 provides an early/late signal associated with D0. Logic circuit 746 is arranged to provide a count value for each byte equal to the number of early/late signals for that byte having value 1 minus the number of early/late signals which have value 0. However, the logic circuit is arranged to exclude from the count the early/late signal associated with each data bit if the transition detect signal associated with that data bit is 0. A positive number indicates that the clock is late relative to the data signal, whereas a negative number indicates that the clock is early relative to the data signal.

The operation of the digital phase detector of FIG. 2 can be better understood with reference to FIGS. 3A-3D. In a perfectly locked condition (FIG. 3A), each edge sample represented by the bits in the edge register is taken precisely at the boundary between data intervals. The voltage used to represent digital 1 or 0 has an indeterminate value, somewhere between the high value representing 1 and the low value representing 0. Thus, when latch 105 or latch 736 samples the signal, the probability the digital value output by the latch will be 1 is equal to the probability that the value will be 0. Therefore, the number of 0 early/late signals generated by the logic circuit will be equal to the number of 1 early/late signals.

Where the clock is early (FIG. 3B), each edge bit represents a sample taken during the immediately preceding data interval, rather than at the boundary or edge between data intervals. Therefore, each edge bit in register 744 will have the same value as the corresponding data bit in register 740, and hence each early/late signal will be 0. Where the clock is late (FIG. 3C), each edge bit represents a sample taken during the immediately succeeding data interval, rather than at the boundary between data intervals. If there is a transition in the data between these intervals, the edge bit will have a value different from the corresponding data bit, and the early/late signal will be 1.

If there is no transition between two successive data intervals, so that the data bits are the same, the edge bit will have the same value as the data bits regardless of whether the clock is early or late, and the early/late signal will be 0. However, in this case, the transition signal will also be 0 and the early/late signal is ignored.

The count from logic circuit 746 is supplied to a scaling factor unit which supplies a value equal to the value from register 718 multiplied by a scaling factor, and to an integrator 712 which integrates the value supplied by register 708 over time and applies an appropriate scaling factor. The output of integrator 712 and scaling factor unit 710 are periodically sampled by a combining circuit 714. The combined value from unit 714, thus, represents a combination of a first-order signal from scaling unit 710 representing substantially instantaneous clock signal lead or lag, and a second-order component from integrator 712 representing the integral of the lead or lag over time. Combining unit 714 supplies each such combined value to a dumped integrator 716 linked to a threshold detection unit 718, which, in turn, is linked to a barrel counter 720. Integrator 716 accumulates a total representing all of the signals from combining unit 714. If the total reaches a positive threshold, threshold detection unit 718 issues a count-up signal to barrel counter 720 and a dump signal to integrator 716, which resets the integrator to 0. If the total reaches a negative threshold, the threshold detection unit 718 issues a count-down signal to barrel counter 720 and also resets the integrator 716 to 0. Counter 720 holds a count value; it increments the count by a preselected increment for each count-up signal and decrements the count by the same increment for each count-down signal. Counter 720 counts along a circular scale corresponding to 360 degrees. Thus, assuming that the barrel counter is operating with a 1 degree increment and the current count is 359 degrees, the count will be reset to 0 if a count-up signal is received. Similarly, if the count is currently 0 degrees, the count will be reset to 359 degrees if a count-down signal is received. The output of the barrel counter constitutes the digital control signal.

The particular implementation shown in FIG. 2 can be varied. For example, combiner 714 can be replaced by a multiplexer which can be actuated to select either the second order signal from integrator 712 or the first order signal from scale factor 710, so as to provide only a first-order characteristic or only a second-order characteristic. Also, the scale factor unit 710 may be omitted entirely if only a second-order characteristic is desired, and integrator 712 may be omitted if only a first-order characteristic is desired. The components of the digital phase detector may be replaced by other circuits which perform the equivalent operation of edge detecting the data signal and multiplying the clock signal by the edge detection signal. See “Monolithic Phase-Locked. Loops And Clock Recovery Circuits—Theory And Design,” Razavi, ed., February 1996, pp. 33-35. The digital loop filter will retain a fixed value for the digital control signal, even during a prolonged absence of transitions in the data signal.

Other types of phase detectors can be used as well. In any case, the data and edge clocks thus operate in conjunction with one another on the received signal. The term “recovered clock” refers to either or both of these clock signals.

The ability to vary the offset between the data clock and edge clock can be used, for example, to minimize the bit error rate where the digital signal has an asymmetric data eye.

An adaptive clock phase shifter 160 (“Interpolator Adapt”) is connected to an adder 165 which receives the phase shift value from the same register (“Phase ACC Edge”) and also receives a selectively variable adaptive clock offset value 170 (“A_os”). The adaptive clock phase shifter provides another replica (“adaptive clock”) 22 of the Receiver clock, phase shifted by an amount directly related to the sum of the phase shift value stored in register Phase ACC Edge and A—os, to a further sampler 175 which also samples the equalized signal. The selectively variable offset between the adaptive clock and the data and edge clocks allows control of the adaptive sampler to take samples at any desired point on the digital signal waveform. This capability can be used to measure the size of the data eye of the digital signal while the system continues to collect the data using the data clock and edge clock as discussed above. Furthermore, the values provided by the adaptive sampler are provided to a circuit 180 (“adaptation”) which may also receive the values from the data sampler. The “adaptation” block can use these sampler outputs to optimize the equalizers “DFE” to obtain a better BER performance through the link. That the process of adapting an equalizer requires these samples is obvious to those skilled in the art.

In the embodiment discussed above, the edge phase shifter (“Interpolator Edge”) is connected directly to the register (Phase ACC Edge”), whereas the data and adaptive phase shifters are connected to the register via the adders. The reverse arrangement, with the data phase shifter directly connected and the edge clock connected to an adder for adding a selectively variable offset, can be used.

A decision feedback equalization or “DFE” circuit output 185 is connected to a summing node 191 which accepts the received digital signal 30. The DFE circuit supplies a signal which depends on the values of the immediately preceding bits in the received signal, i.e., on the data values derived during immediately preceding bit intervals, so as to produce the equalized signal discussed above. The DFE circuit compensates for inter-symbol interference. DFE circuits per se are known and are not further described herein. However, in FIG. 1, the timing of the DFE circuit is controlled by a DFE clock 190 which is provided by a DFE phase shifter 195 (“Interpolator DFE”). The DFE phase shifter provides a further replica of the Receiver clock signal, phase shifted by an amount which is controlled by the sum of the phase shift value in register Phase ACC DFE and a selectively variable offset 200 (DFE_os). The sum of the phase shift value in register Phase ACC DFE and the selectively variable offset 200 is formed by an adder 205. The ability to vary the offset allows optimization of the timing of the DFE circuit.

A transmitter 210 (“TX”) transmits data values 215 supplied to the transmitter using a clock signal 220 (“Transmit Clock”). The transmit clock signal is derived by a further phase shifter 225 (“interpolator TX”) as a replica of the Receiver clock signal phase shifted by the sum of a selectively variable offset 230 (“TX_os”) and a phase shift value stored in register Phase ACC TX. The sum of selectively variable offset 230 and the phase shift value stored in register Phase ACC TX is formed by an adder 235.

While in normal operation the Phase ACC TX is disabled so that the Transmit Clock is stationary, it is advantageous for link diagnostic purposes for it to track the movement of the recovered clock with a fixed phase offset. For instance, by setting the transmit data to be a series of alternating 1's and 0's while enabling the Phase ACC TX, the transmitted signal becomes a clock signal which has a fixed phase relationship to the edge clock. This allows a method by which the variations on the phase of the recovered clock can be observed without requiring separate pins or probing even in the presence of frequency offsets. During normal use of the chip, the transmitted signal is used to convey real data while the register Phase ACC TX is disabled by a signal 240(“En_TX”). Similarly, the linkage between the DFE signal and the other clocks can be enabled or disabled.

Components 245, 250, and 255 of FIG. 1, respectively marked “Binary Cony,” “−1” and “Invert,” can be selectively actuated to lock the phase error signal at zero or to invert the phase error signal.

In a variant of the embodiment discussed above, one or both of the DFE clock and transmit clock can be derived from the phase shift value stored in the same register used for the other clock signals (“Phase ACC Edge”). In a further variant, some of the features discussed above can be omitted. For example, the system can be used without the transmitter and transmit clock, or without the adaptive clock. In another example, the relationship between the data clock and edge clock can be fixed. In a further variant, the offset values can be derived automatically during operation. In yet another variant, the feedback circuit may be a first-order or higher-order circuit.

The particular embodiments shown above are merely illustrative. For example, the circuitry discussed above can be implemented in any desired form as, for example, as TTL or CMOS circuitry. The invention can be applied to data signals other than electrical signals as, for example, optical data signals. Also, the invention can be applied to data signals other than binary signals as, for example, in multi-level signaling, also referred to as pulse amplitude modulation signaling. For example, in a PAM 3 signal, the value or characteristic of the data signal may have any one of three values during each data interval. In the embodiments discussed above, the data signal is a signal sent by a sending device outside of the monolithic integrated circuit which incorporates the clock recovery circuit. However, the same clock recovery circuit can be employed where the data signal is sent from another portion of the same monolithic integrated circuit.

As these and other variations and combinations of the features discussed above can be utilized without departing from the present invention as defined by the claims, the foregoing description of the one embodiments should be taken by way of illustration rather than by way of limitation of the invention as defined by the claims. 

1. (canceled)
 2. An integrated circuit operable to receive an incoming digital signal carrying an embedded clock, comprising: circuitry to detect phase differences between the embedded clock and a recovered clock and to produce an output representing the phase differences; circuitry to receive the output and produce a first register value representing accumulation of the phase differences; circuitry to generate the recovered clock as a first phase-shifted version of a reference clock in dependence on the first register value; circuitry to add a digital offset to the first register value to generate a second register value; and circuitry to generate a second clock as a second phase-shifted version of the reference clock in dependence on the second register value.
 3. The integrated circuit of claim 2, wherein: the recovered clock is an edge clock, the second clock is a data clock and the digital offset is a first digital offset corresponding to a first data sampling instant, such that the second clock is aligned to the first data sampling instant; the integrated circuit further comprises circuitry to add a second digital offset to the first register value to generate a third register value, and circuitry to generate a third clock as a third phase-shifted version of the reference clock in dependence on the third register value; and the third clock is one of an equalizer clock operable to time the application of equalization by the integrated circuit, a transmit clock operable to time transmission of outgoing communication by the integrated circuit, and an adaptive sampler clock operable to time a second data sampling instant in a manner phase-offset by less than three-hundred-and-sixty-degrees from the first data sampling instant.
 4. The integrated circuit of claim 2, wherein: the output is a first output; the integrated circuit further comprises an integrator also coupled to receive the first output and to integrate the phase differences, the integrator to produce a second output representing accumulated frequency error between the reference clock and the embedded clock; and the circuitry to receive the first output and produce the first register value representing accumulation of the phase differences is further to periodically add the second output representing accumulated frequency error to the first register value, such that the circuitry to generate the recovered clock incrementally phase-shifts the reference clock in generating the recovered clock in a manner that tracks the accumulated frequency error.
 5. The integrated circuit of claim 4, further comprising: first scaling factor circuitry operatively coupling the first output to the circuitry to receive the output and produce the first register value, the first scaling factor circuitry operable to scale the first output by a first scaling factor; and second scaling factor circuitry operatively coupling the first output with the integrator, the second scaling factor circuitry operable to scale the output by a second scaling factor.
 6. The integrated circuit of claim 4, wherein the circuitry to receive the first output and produce the first register value comprises a counter to count along a circular scale corresponding to three-hundred and sixty degrees.
 7. The integrated circuit of claim 2, wherein: the recovered clock is an edge clock; the circuitry to receive the output and produce the first register value representing accumulation of the phase differences comprises an edge accumulator; the integrated circuit further comprises a frequency accumulator also coupled to receive the output and to accumulate the phase differences, the frequency accumulator to produce an output representing accumulated frequency error between the reference clock and the embedded clock; and the edge accumulator also receives and periodically adds to the first register value the output representing accumulated frequency error.
 8. The integrated circuit of claim 2, wherein: the integrated circuit further comprises a phase-lock loop (PLL) to generate the reference clock, the PLL operable to generate multiple clock signals of the same frequency as the reference clock but differently spaced within a period of the reference clock; and each of the circuitry to generate the recovered clock and the circuitry to generate the second clock is to receive the multiple clock signals and is to generate the recovered clock and second clock, respectively, using the multiple clock signals.
 9. The integrated circuit of claim 2, wherein: the integrated circuit further comprises a decision feedback equalizer (DFE) to equalize the incoming digital signal in dependence on at least one previously received data symbol, to produce an equalized signal; the circuitry to detect phase differences between the embedded clock and the recovered clock and to produce an output representing the phase differences is to receive the equalized signal, to take edge samples of the equalized signal in dependence on the recovered clock, and to produce the output in a manner that indicates whether the recovered clock is early or late relative to the embedded clock; the second clock is an equalizer clock; and the DFE is clocked to apply decision feedback to the incoming digital signal at intervals timed according to the equalizer clock.
 10. The integrated circuit of claim 2, wherein: the digital offset is a selectively-variable offset; the integrated circuit further comprises a register to store the selectively-variable offset, and the circuitry to add is to digitally sum the first register value with the selectively-variable offset.
 11. The integrated circuit of claim 2, wherein: the second clock is a data clock; and the integrated circuit further comprises a deserializer to receive the incoming signals as a sequence of data samples, sampled according to the data clock, and to output a parallel word of symbols.
 12. An integrated circuit operable to receive an incoming digital signal carrying an embedded clock, comprising: circuitry to detect phase differences between the embedded clock and an edge clock and to produce a first output representing the phase differences; circuitry to receive the first output and integrate the phase differences to produce a second output representing accumulated frequency error between a reference clock and the embedded clock; and circuitry to receive the first and second outputs and produce a first register value representing accumulation of the phase differences and accumulation of the accumulated frequency error; circuitry to generate the edge clock as a first phase-shifted version of a reference clock in dependence on the first register value; circuitry to add a digital offset to the first register value to generate a second register value; circuitry to generate a data clock as a second phase-shifted version of the reference clock in dependence on the second register value; and circuitry to sample the incoming digital signal according to the data clock to generate data samples.
 13. The integrated circuit of claim 12, wherein: the digital offset is a first, selectively-variable digital offset corresponding to a desired data sampling instant, such that the second clock is aligned to the data sampling instant; the integrated circuit further comprises circuitry to add a second digital offset to the first register value to generate a third register value, and circuitry to generate a third clock as a third phase-shifted version of the reference clock in dependence on the third register value; and the third clock is a transmit clock operable to time transmission of outgoing communication by the integrated circuit.
 14. The integrated circuit of claim 12, wherein: the digital offset is a first, selectively-variable digital offset corresponding to a desired data sampling instant, such that the second clock is aligned to the data sampling instant; the integrated circuit further comprises circuitry to add a second digital offset to the first register value to generate a third register value, and circuitry to generate a third clock as a third phase-shifted version of the reference clock in dependence on the third register value; and the third clock is an adaptive sampler clock operable to time a second data sampling instant in a manner phase-offset by less than three-hundred-and-sixty-degrees from the first data sampling instant.
 15. The integrated circuit of claim 12, wherein: the integrated circuit further comprises a decision feedback equalizer (DFE) to equalize the incoming digital signal in dependence on previously received data symbols, to produce an equalized signal, the circuitry to detect phase differences between the embedded clock and the edge clock is to detect phase differences between the equalized signal and the edge clock; the integrated circuit further comprises circuitry to add a second digital offset to the first register value to generate a third register value, and circuitry to generate an equalizer clock as a third phase-shifted version of the reference clock in dependence on the third register value; and the DFE is clocked to apply decision feedback to the incoming digital signal according to the equalizer clock.
 16. The integrated circuit of claim 12, wherein: the integrated circuit further comprises an integrator also coupled to receive the first output and to integrate the phase differences, the integrator to produce the second output; and the circuitry to receive the first and second outputs and produce the first register value representing accumulation of the phase differences and accumulation of the accumulated frequency error is further to periodically add the output representing the accumulated frequency error to the first register value, such that the circuitry to generate the edge clock and the circuitry to generate the data clock each incrementally phase-shift the reference clock in a manner that tracks the accumulated frequency error.
 17. The integrated circuit of claim 12, wherein the circuitry to receive the first and second outputs and produce the first register value is coupled to the first output so as to add each detected phase difference to the first register value, and is coupled to the second output so as to repeatedly and periodically add the accumulated frequency error to the first register value, such that each of the first and second phase-shifted versions tracks the accumulated frequency error.
 18. The integrated circuit of claim 12, wherein: the integrated circuit further comprises a phase-lock loop (PLL) to generate the reference clock, the PLL operable to generate multiple clock signals of the same frequency as the reference clock but differently spaced within a period of the reference clock; the circuitry to generate the edge clock is to receive the multiple clock signals and is to generate the edge clock using the multiple clock signals; and the circuitry to generate the data clock is to receive the multiple clock signals and is to generate the data clock using the multiple clock signals.
 19. An integrated circuit operable to receive an incoming digital signal carrying an embedded clock, comprising: circuitry to detect phase differences between the embedded clock and a recovered clock and to produce an output representing the phase differences; means for generating a first register value based on the output representing accumulation of the phase differences; and means for generating the recovered clock and a second clock in dependence on the first register value, wherein the second clock is generated by digitally summing an offset value with the first register value to create a second register value and the second clock is generated in dependence on the second register value, such that both of the recovered clock and the second clock track phase error represented by the first register value.
 20. The integrated circuit of claim 19, wherein the means for generating the first register value includes means for accumulating frequency error between the embedded clock and a reference clock in dependence on the output, and the means for generating the first register value is to generate the first register value in dependence on the output and the accumulated frequency error, such that both of the recovered clock and the second clock track accumulated frequency error represented by the first register value.
 21. The integrated circuit of claim 19, further comprising means for equalizing the digital input signal in dependence upon at least one prior data symbol carried by the digital input signal, by application of decision feedback timed according to the second clock. 